import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

import java.util.List;
import java.util.Set;

public class DengluTest {
    //自动打开B站页面
    public static void main(String[] args) {
        String driverPath = "D:\\Enviroments\\geckodriver-v0.26.0-win64\\chromedriver.exe";
        WebDriver drive;
        System.setProperty("webdriver.firefox.marionette", driverPath);
        drive = new EdgeDriver();
        drive.get("https://www.bilibili.com/video/BV1jb41157CK?p=7");
    }

}
